Dear Reader,

Hope you are enjoying this new edition of the Macintosh Programming Primer. Cartwright and I put a lot of work into it and are looking forward to your comments and feedback. If you get a chance, stop by the Learn Programming forum on CompuServe and drop us a line. To get there, type GO MACDEV, then check out Section 11.

Based on the letters weÕve received so far, weÕve put together a list of changes to this first printing (see below). Please pass this list on to anyone you know who may have purchased this first printing of the second edition. TheyÕll thank you for it.

Well, thatÕs about it. Thanks again for your support.

Your faithful authors,

Dave Mark and Cartwright Reed
DMark on America Online

----------------------------------

Chapter 4, page 190 or so:	The HighLevelEvent-Aware SIZE flag must be set in order for EventTrigger to run properly.
Chapter 4, Page 150 and bottom page 165, EventTracker:
	thePart should be declared as a short.
Chapter 6, Reminder:	These few code changes fix a bug that cause Reminder to break under System 7.1...
	1)	Add this struct definition just before function prototypes:
				
				struct PopupPrivateData
				{
 				   MenuHandle  mHandle;
 				   short       mID;
  				  char        mPrivate[1];
				};

	2) Add this line to the variable declaration list in the function CopyDialogToReminder():
 
				struct PopupPrivateData		**popupDataHandle;

	3) On page 325, replace the second line from the bottom - it currently reads:

				menu = GetMHandle( mMinutes );

	with this code:

				popupDataHandle = (struct PopupPrivateData **)
                  ((**(ControlHandle)itemHandle).contrlData);
				menu = (**popupDataHandle).mHandle;


Chapter 6, Reminder:	When the Edit MENU resource is set up, make sure the ÒEntire Menu EnabledÓ check-box is unchecked.
Chapter 6, Reminder:	Change InitGraf( &qd.thePort ) to InitGraf( &thePort )
Chapter 6, Reminder:	Change the line:
      reminder->notify.nmResp = &LaunchResponse;
to
      reminder->notify.nmResp = (NMProcPtr)&LaunchResponse;
	Change the else clause using the (NMProcPtr) typecast also.
Page 116:	Change iÑ to i-- in MainLoop().
Page 328:	Bottom of page, 4 Apple symbols are missing in text.
Page 617:	Reference to Mondrian should be WorldCLock.
